<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/templates/common/taglib.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
       <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>${title }</title>
    <link rel="stylesheet" href="${basePath}/static/bootstrap/css/bootstrap.css"/>
    <link href="${basePath}/static/css/basic.css" rel="stylesheet" type="text/css">
    <link href="${basePath}/static/css/login.css" rel="stylesheet" type="text/css">
    <link href="${basePath}/static/css/list.css" rel="stylesheet" type="text/css">
    <script  type="text/javascript" src="${basePath}/static/js/jquery.min.js"></script>
	<script  type="text/javascript" src="${basePath}/static/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="${basePath}/static/page/jqPaginator/jqPaginator.js"></script>
    <script  type="text/javascript" src="${basePath}/static/layer/layer.js"></script>
    <link href="${basePath}/static/layer/layer_defined.css" rel="stylesheet" type="text/css">
    <style>
     .td_input_box{
        width: 95%;
	    height: 28px;
	    text-align: left;
	    text-indent: 5px;
	    line-height: 20px;
	    border-bottom: #fec99c solid 1px;
	    border-top: #FFF solid 1px;
	    border-left: #FFF solid 1px;
	    border-right: #FFF solid 1px;
     }
     .btn{
      background: #039b8e;
      color:#fff;
     }
     .td_relative{
      position:relative;
      }
     .checkList{
      display:none;
      position:absolute;
      top:35px;
      left:10px;
      border:1px solid #ccc;
      width:95%;
      height:150px;
      overflow-y:scroll;
      background:#fff;
      z-index:1000;
     }
     .checkList ul{
      width:100%;
      height:100%;
      margin-top:20px;
     }
     .checkList li{
      width:100%;
      height:auto;
      line-height:30px;
      padding:0 5px;
      text-align:left;
     }
     .checkList li:hover{
      background-color:#EAF4F6;
     }
     .int {
	    background: #07a396;
	    color: #FFF;
	    border-radius: 4px;
	    cursor: pointer;
	    padding: 4px;
	}
	.close{
	   position:absolute;
	   top:5px;
	   right:5px;
	   width:20px;
	   height:20px;
	   text-align:center;
	   line-height:20px;
	   cursor:pointer;
	}
    </style>
</head>
<body>
<!--头部-->
	<%@include file="/WEB-INF/templates/common/header.jsp"%>
	<!------导航条-->
	<%@include file="/WEB-INF/templates/common/navigation.jsp"%>

<!--内容部分-->
<div class="list_main lay_out" class="clearfix">
    <div class="list_DH">
        <%@include file="/WEB-INF/templates/common/indexPageAudit.jsp"%>
    </div>
    <div class="list_NR">
        <div class="loc">
            <h3 style="margin:0">审核查询</h3>
        </div>
        <div class="list_con_table" style="overflow:visible">
        	<input type="hidden" value="${hospitalNote.firstGuid}" id="firstGuid"/>
        	 <div class="search_table">
                <ul class="clearfix" style="margin-bottom:0;border-bottom:#e3e5e4 1px solid">
				    <li class="Label_1">病案号：&nbsp;</li>
				    <li class="Label_2">${hospitalNote.onlyId }</li>
				    <li class="Label_1">识别码：&nbsp;</li>
				    <li class="Label_2">${hospitalNote.mrId}</li>
				    <li class="Label_1">姓名：&nbsp;</li>
				    <li class="Label_2">${hospitalNote.name}</li>
				    <li class="Label_1">身份证号：&nbsp;</li>
				    <li class="Label_2">${hospitalNote.idNumber}</li>
				    <li class="Label_1">出院日期：&nbsp;</li>
				    <li class="Label_2">
				    <fmt:formatDate value="${hospitalNote.outHospitalDate}" pattern="yyyy-MM-dd" /> 
                    	
                    </li>
				    <li class="Label_1">出院科室：&nbsp;</li>
				    <li class="Label_2">${hospitalNote.outHospitalOfficeName}</li>
				   
				  </ul>
				  <form id="tableForm" style="width: 100%; height: auto;">
				  	  <table class="Search_tableList">
                        <tbody id="tbody">
                           <tr>
                                <td class="tdLabel_4" width="50%">审核内容</td>
                                <td class="tdLabel_4" width="30%">审核时间</td>
                                <td class="tdLabel_4" width="20%">操作</td>
                            </tr>
                            <c:forEach items="${medicalErrorList}" var="medicalError">
                            <tr>
                            	
                            	
                                <td class="tdLabel_5 td_relative">
                                    <input type="text" name='remark' class="td_input_box check_input" value="${medicalError.errorName}"/>
                                    
                                 
                                </td>
                                <td class="tdLabel_5">
                                    <input type="text" name="createTime" class="td_input_box" value="${medicalError.createTime}"/>
                                </td>
                                <td class="tdLabel_5"><a  medicalModifyId="${medicalError.medicalModifyId}" class="int" onclick="del(this)"> 删除</a>
                                </td>
                              
                             </tr>
                               </c:forEach>
                        </tbody>
                    </table>
   			
				  </form>
			</div>   
        </div> 	
    </div>
</div>
<!------页脚部分--------->
<%@include file="/WEB-INF/templates/common/footer.jsp"%>

<!--JS部分-->

<script>

	function del(obj){
		var medicalModifyId = $(obj).attr("medicalModifyId");
		var firstGuid= $("#firstGuid").val();
		$.ajax({
			type:"post",
			data:{medicalModifyId:medicalModifyId},
			url:"${basePath}/audit/delMedicalError",
			success:function(data){
			
				if(data.success){
					$(obj).parents("tr").fadeOut("slow",function(){
						$(this).remove();
					})
				}
			}
		})
	}

</script>

</body>
</html>